#pragma once
#include<vector>
#include"MidiMessage.h"
class Track
{
public:
	int size = 4,message_num=0;
	int track_id=-1;
	int track_time = 0;
	std::vector<MidiMessage>messages;
	Track();
	Track(int id);
	virtual ~Track();
	void append_message(MidiMessage message);
	void clear_message();
	void note(int flip, int time);
	void program_change(int program);
};

